<template>
  <div>
    <h2>-------------------HelloVuex---------------------</h2>
    <h2>{{counter}}</h2>
    <h3>{{$store.state.counter}}</h3>
    <h3>{{$store.state.students}}</h3>
    <h3>{{$store.state.info}}</h3>
  </div>
</template>

<script>
export default {
  name: 'HelloVuex',
  props: {
    counter: Number
  },
  data () {
    return {
      msg: 'Welcome to Your Vue.js App'
    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
 
</style>
